import request from '@/utils/request'
/*
  获取书籍记录列表
*/
export function getRecordList(data: any) {
  return request({
    url: '/api/book/record/list',
    method: 'post',
    data,
  })
}
/*
  创建/更新书籍记录
*/
export function doEdit(data: any) {
  return request({
    url: '/api/book/record/save',
    method: 'post',
    data,
  })
}
